import pkg from 'mockjs'
const { mock } = pkg
export const users = [
    { username: 'admin', password: '0000', role: 'admin', phonenum: '13011112222' },
    { username: '张三', password: '0000', role: 'user', phonenum: '13011112222' }
]

export const { roleList } = mock({
    "roleList|40": [
        {
            "id": "@id",
            "name": "@cname",
            "remark": "@cparagraph(1,3)",
            "identity": "@ctitle(3,6)",
            "status": "@boolean",
            "createtime": "@datetime"
        }
    ]
})